FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER xxx@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /sc-codegen

WORKDIR /sc-codegen

EXPOSE 5003

ADD ./sc-module/sc-codegen/target/sc-codegen.jar ./

CMD sleep 30;java -Djava.security.egd=file:/dev/./urandom -jar sc-codegen.jar
